﻿<%@ Page Title="Cấu hình Email" Language="C#" MasterPageFile="~/Admin/Masters/AdminMasterPage.master" AutoEventWireup="true" CodeFile="MailConfig.aspx.cs" Inherits="Admin_MailConfig" %>

<asp:Content ID="Content1" ContentPlaceHolderID="Title" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" Runat="Server">
<div class="content-box"><!-- Start Content Box -->
				
		<div class="content-box-header">
					
			<h3>Cấu hình Email</h3>				
			
			<div class="clear"></div>
					
		</div> <!-- End .content-box-header -->
				
<div class="content-box-content">



<input type="hidden" name="act" id="act" value="update" />
<!-- Start Tab Danh Sach-->

<div class="tab-content default-tab" id="tab1"> 
<!-- This is the target div. id must match the href of this div's tab -->
			
 <!-- Start Notification -->
                     <div id="NotificationMessage" runat="server"></div>  
  <!-- End Notification -->						
		
        <!-- Begin: MailBox -->
    		  <!-- Begin: MailBox -->
    <div class="MailBox">               
                              
                <!-- Begin: MailRow -->
    		    <div class="MailRow">
                 <!-- Begin: MailRow Left-->
    		      <div class="MailLeft">
    		        <label for="txtSendMailTo">Server:</label>    		        
   		         </div> <!-- End: MailRow Left-->
                  <!-- Begin: MailRow Right-->
                   <div class="MailRight">                     
                       <asp:DropDownList ID="DropDownListServer" runat="server" CssClass="combobox" 
                           AutoPostBack="True" 
                           onselectedindexchanged="DropDownListServer_SelectedIndexChanged" 
                           >
                       </asp:DropDownList>
                  </div> <!-- End:MailRow Right-->
                   <div class="clear"></div>
    		    </div> <!-- End: MailRow -->
                
                <!-- Begin: MailRow -->
    		    <div class="MailRow">
                 <!-- Begin: MailRow Left-->
    		      <div class="MailLeft">
    		        <label for="txtSendMailTo">Port:</label>    		        
   		         </div> <!-- End: MailRow Left-->
                  <!-- Begin: MailRow Right-->
                   <div class="MailRight">  
                      <asp:TextBox ID="txtPort"  runat="server" CssClass="textbox"></asp:TextBox>
                  </div> <!-- End: MailRow Right-->
                   <div class="clear"></div>
    		    </div> <!-- End: MailRow -->


                <!-- Begin: MailRow -->
    		    <div class="MailRow">
                 <!-- Begin: MailRow Left-->
    		      <div class="MailLeft">
    		        <label for="txtSendMailTo">From:</label>    		        
   		         </div> <!-- End: MailRow Left-->
                  <!-- Begin: MailRow Right-->
                   <div class="MailRight">  
                      <asp:TextBox ID="txtFrom"  runat="server" CssClass="textbox"></asp:TextBox>
                  </div> <!-- End: MailRow Right-->
                   <div class="clear"></div>
    		    </div> <!-- End: MailRow -->

                <!-- Begin: MailRow -->
    		    <div class="MailRow">
                 <!-- Begin: MailRow Left-->
    		      <div class="MailLeft">
    		        <label for="txtSendMailTo">Username:</label>    		        
   		         </div> <!-- End: MailRow Left-->
                  <!-- Begin: MailRow Right-->
                   <div class="MailRight">  
                      <asp:TextBox ID="txtUsername"  runat="server" CssClass="textbox"></asp:TextBox>
                  </div> <!-- End: MailRow Right-->
                   <div class="clear"></div>
    		    </div> <!-- End: MailRow -->


                <!-- Begin: MailRow -->
    		    <div class="MailRow">
                 <!-- Begin: MailRow Left-->
    		      <div class="MailLeft">
    		        <label for="txtSendMailTo">Password:</label>    		        
   		         </div> <!-- End: MailRow Left-->
                  <!-- Begin: MailRow Right-->
                   <div class="MailRight">  
                      <asp:TextBox ID="txtPassword"  runat="server" CssClass="textbox"></asp:TextBox>
                  </div> <!-- End: MailRow Right-->
                   <div class="clear"></div>
    		    </div> <!-- End: MailRow -->


                 <!-- Begin: MailRow -->
    		    <div class="MailRow">
                 <!-- Begin: MailRow Left-->
    		      <div class="MailLeft">    		      		        
   		         </div> <!-- End: MailRow Left-->
                  <!-- Begin: MailRow Right-->
                  <div class="MailRight">                       
                    <asp:Button runat="server" Text="Save" cssClass="button" id="btnSave" onclick="btnSave_Click" 
                          />                     
                  </div> 
                   <!-- End:MailRow Right-->
                   <div class="clear"></div>
    		    </div> <!-- End: MailRow -->
                
    		  </div><!-- end: MailBox --><!-- end: MailBox -->
					
</div>

<!-- End Tab Danh Sach-->					
  
   
					
</div> <!-- End .content-box-content -->
				
</div>
</asp:Content>

